package com.xuan.constants;

public class CommonConstants {
    // 存储在redis的一些前缀
    public static final String USER_TOKEN_PREFIX = "user:token:";
    public static final String CAPTCHA_PREFIX = "user:captcha:";
    // redis key 过期时间
    public static final Long USER_TOKEN_TTL = 3600L;
    // rabbitmq相关
    public static final String LOGGING_QUEUE = "logging.queue";
    public static final String LOGGING_EXCHANGE = "logging.exchange";
    public static final String LOGGING_ROUTING_KEY = "logging";
}
